package com.zhangxun.feign;


import com.zhangxun.domain.Prod;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("product-service")
public interface StoreProdFeign {


    @GetMapping("/prod/prod/getOne/{prodId}")
    Prod getById(@PathVariable("prodId") Long prodId);
}
